package com.ruoyi.report.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 表格列数据对象 report_tablebase_column
 * 
 * @author wry
 * @date 2023-06-20
 */
public class ReportTablebaseColumn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表格列主键 */
    private Long columnId;

    /** 表格列名称 */
    @Excel(name = "表格列名称")
    private String columnName;

    /** 表格列键值 */
    @Excel(name = "表格列键值")
    private String columnKey;

    /** 表格名称 */
    @Excel(name = "表格名称")
    private String tableName;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long tableId;

    public void setColumnId(Long columnId) 
    {
        this.columnId = columnId;
    }

    public Long getColumnId() 
    {
        return columnId;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setColumnKey(String columnKey) 
    {
        this.columnKey = columnKey;
    }

    public String getColumnKey() 
    {
        return columnKey;
    }
    public void settableName(String tableName) 
    {
        this.tableName = tableName;
    }
    public void setTableId(Long tableId)
    {
        this.tableId = tableId;
    }

    public Long getTableId()
    {
        return tableId;
    }
    public String gettableName() 
    {
        return tableName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("columnId", getColumnId())
            .append("columnName", getColumnName())
            .append("columnKey", getColumnKey())
            .append("tableName", gettableName())
                .append("tableId", getTableId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
